package cn.elricyu.tt.bean.battle;

public class Member {
	private static final String CREATOR = "CREATER";
	private String playername;
	private String playerid;
	private int playerlevel;
	private String role;
	private int attlv;
	private int deflv;
	private int makemode;
	private int maxsolidernum;
	private int solidernum;

	public String getPlayername() {
		return playername;
	}

	public void setPlayername(String playername) {
		this.playername = playername;
	}

	public String getPlayerid() {
		return playerid;
	}

	public void setPlayerid(String playerid) {
		this.playerid = playerid;
	}

	public int getPlayerlevel() {
		return playerlevel;
	}

	public void setPlayerlevel(int playerlevel) {
		this.playerlevel = playerlevel;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public int getAttlv() {
		return attlv;
	}

	public void setAttlv(int attlv) {
		this.attlv = attlv;
	}

	public int getDeflv() {
		return deflv;
	}

	public void setDeflv(int deflv) {
		this.deflv = deflv;
	}

	public int getMakemode() {
		return makemode;
	}

	public void setMakemode(int makemode) {
		this.makemode = makemode;
	}

	public int getMaxsolidernum() {
		return maxsolidernum;
	}

	public void setMaxsolidernum(int maxsolidernum) {
		this.maxsolidernum = maxsolidernum;
	}

	public int getSolidernum() {
		return solidernum;
	}

	public void setSolidernum(int solidernum) {
		this.solidernum = solidernum;
	}

	public String getSoliderDesc() {
		return solidernum + "/" + maxsolidernum;
	}

	public boolean isCreator() {
		return CREATOR.equalsIgnoreCase(role);
	}

}
